import 'package:flutter/material.dart';
import 'package:flutter_getx/get_counter_high_state/view.dart';
import 'package:flutter_getx/get_jump_one/view.dart';
import 'package:flutter_getx/get_jump_two/view.dart';
import 'package:get/get.dart';

import 'couter_get/view.dart';
import 'essay/view.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      initialRoute: '/',
      getPages: [
        GetPage(name: '/', page: () => GetJumpOnePage()),
        GetPage(name: '/jump_two', page: () => GetJumpTwoPage()),
        GetPage(name: '/counter_high_state', page: () => GetCounterHighStatePage()),
      ],
      home: EssayPage(),

    );
  }
}


